import json
class User(object):
    def __init__(self,email,qq,name,password):
        self.qq=qq
        self.name=name
        self.email=email
        self.password=password
    def __str__(self):
        return "{"+"email:{},qq:{},name:{},password:{}".format(self.email,self.qq,self.name,self.password)+"}"
f=open("json.txt","r")
str=f.read()
list=json.loads(str)
users=[]
for obj in list:
    users.append(User(obj["email"],list[0]["qq"],list[0]["name"],list[0]["password"]))
for user in users:
    print(user)